package exam;

/**
 * Created by IntelliJ IDEA.
 * User: Shawn
 * Date: 2009-5-29
 * Time: 12:32:20
 */
public class TestPaperInfo {
  private long tid;
  private long eid;
  private long date;
  private long startTime;
  private long endTime;
  private long time;
  private long examTime;
  private int state;
  private int score;
  private int passScore;
  private int svalue;
  private int mvalue;
  private int tvalue;

  public TestPaperInfo() {
  }

  public TestPaperInfo(long eid, long date) {
    this.eid = eid;
    this.date = date;
    this.startTime = System.currentTimeMillis();
    this.state = ExamVar.STATE_START;
  }

  public TestPaperInfo(long eid, long date, long examTime, int passScore, int svalue, int mvalue, int tvalue) {
    this.eid = eid;
    this.date = date;
    this.startTime = System.currentTimeMillis();
    this.state = ExamVar.STATE_START;

    this.examTime = examTime;
    this.passScore = passScore;
    this.svalue = svalue;
    this.mvalue = mvalue;
    this.tvalue = tvalue;
  }

  public long getTid() {
    return tid;
  }

  public void setTid(long tid) {
    this.tid = tid;
  }

  public long getEid() {
    return eid;
  }

  public void setEid(long eid) {
    this.eid = eid;
  }

  public long getDate() {
    return date;
  }

  public void setDate(long date) {
    this.date = date;
  }

  public long getStartTime() {
    return startTime;
  }

  public void setStartTime(long startTime) {
    this.startTime = startTime;
  }

  public long getEndTime() {
    return endTime;
  }

  public void setEndTime(long endTime) {
    this.endTime = endTime;
  }

  public long getTime() {
    return time;
  }

  public void setTime(long time) {
    this.time = time;
  }

  public long getExamTime() {
    return examTime;
  }

  public void setExamTime(long examTime) {
    this.examTime = examTime;
  }

  public int getState() {
    return state;
  }

  public void setState(int state) {
    this.state = state;
  }

  public int getScore() {
    return score;
  }

  public void setScore(int score) {
    this.score = score;
  }

  public int getPassScore() {
    return passScore;
  }

  public void setPassScore(int passScore) {
    this.passScore = passScore;
  }

  public int getSvalue() {
    return svalue;
  }

  public void setSvalue(int svalue) {
    this.svalue = svalue;
  }

  public int getMvalue() {
    return mvalue;
  }

  public void setMvalue(int mvalue) {
    this.mvalue = mvalue;
  }

  public int getTvalue() {
    return tvalue;
  }

  public void setTvalue(int tvalue) {
    this.tvalue = tvalue;
  }
}
